package com.leyou;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author:yanjizhw@163.com
 * @date:2019-09-23 10:21
 * 描述:
 * @since:1.0.0
 */
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.leyou.item.dao")
@ServletComponentScan(basePackages = {"com.leyou.item.filter"}) //filter 配置
public class LyItemApp {
    public static void main(String[] args) {
        SpringApplication.run(LyItemApp.class);
    }

}
